/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-07-19 17:05:09
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //基础信息
    formObj: [{
            input: true, //是input
            label: "设备名称", //字段
            prop: "deviceName", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '设备名称不能为空'
            }], //验证
        },{
            input: true, //是input
            label: "设备编号", //字段
            prop: "deviceId", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '设备编号不能为空'
            }], //验证
        },{
            input: true, //是input
            label: "规格型号", //字段
            prop: "specification", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '规格型号不能为空'
            }], //验证
        },{
            input: true, //是input
            label: "生产厂家", //字段
            prop: "manufacturer", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '生产厂家不能为空'
            }], //验证
        },
        
        {
            datePicker: true, //是input
            label: "出厂日期", //字段
            prop: "produceDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '出厂日期不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "出厂编号", //字段
            prop: "produceId", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '出厂编号不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "量程", //字段
            prop: "range", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '量程不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "技术参数", //字段
            prop: "technicalSpecification", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '技术参数不能为空'
            }], //验证
        },
        {
            datePicker: true, //是input
            label: "购置日期", //字段
            prop: "acquisitionDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '购置日期不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "测量范围", //字段
            prop: "measuringRange", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '测量范围不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "准确度", //字段
            prop: "accuracy", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '准确度不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "检定/校准周期（月）", //字段
            prop: "calibratingPeriod", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '准确度不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "管理人", //字段
            prop: "manager", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '管理人不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "计量单位", //字段
            prop: "unit", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择计量单位'
            }], //验证
            options:[
            {
                label:"请选择",
                value:"请选择",
            },{
                label:"吨",
                value:"吨",
            },{
                label:"千克",
                value:"千克",
            },{
                label:"台",
                value:"台",
            },{
                label:"套",
                value:"套",
            },{
                label:"把",
                value:"把",
            },{
                label:"米",
                value:"米",
            },{
                label:"平方米",
                value:"平方米",
            },{
                label:"立方米",
                value:"立方米",
            },{
                label:"公里",
                value:"公里",
            },{
                label:"个",
                value:"个",
            }]
        },
        {
            input: true, //是input
            label: "所属部门", //字段
            prop: "department", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '所属部门不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "存放地点", //字段
            prop: "storagePlace", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '存放地点不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "数量", //字段
            prop: "count", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '数量不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "单价（元）", //字段
            prop: "price", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '单价（元）不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "功能室", //字段
            prop: "functionName", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择功能室'
            }], //验证
            options:[
            // {
            //     label:"集料室",
            //     value:"集料室",
            // }, {
            //     label:"辅助类",
            //     value:"辅助类",
            // },{
            //     label:"水泥室",
            //     value:"水泥室",
            // }, {
            //     label:"养护室",
            //     value:"养护室",
            // },{
            //     label:"土工室",
            //     value:"土工室",
            // }, {
            //     label:"现场类",
            //     value:"现场类",
            // },{
            //     label:"力学室",
            //     value:"力学室",
            // }, {
            //     label:"沥青室",
            //     value:"沥青室",
            // },{
            //     label:"化学室",
            //     value:"化学室",
            // }, {
            //     label:"混凝土室",
            //     value:"混凝土室",
            // },{
            //     label:"外检室",
            //     value:"外检室",
            // }, {
            //     label:"力学室2",
            //     value:"力学室2",
            // },{
            //     label:"高温室",
            //     value:"高温室",
            // }, {
            //     label:"力学室1",
            //     value:"力学室1",
            // }, {
            //     label:"标准物质",
            //     value:"标准物质",
            // },
        ]
        },
        {
            input: true, //是input
            label: "供货商", //字段
            prop: "supplier", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '供货商不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "使用状态", //字段
            prop: "status", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择使用状态'
            }], //验证
            options:[
            {
                label:"合格",
                value:"合格",
            }, {
                label:"准用",
                value:"准用",
            }, {
                label:"停用",
                value:"停用",
            }]
        },
               {
            label: "上传照片", //字段
            prop: "picture", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '上传照片不能为空'
            }] //验证
        },
        {
            textarea: true, //是input
            label: "备注", //字段
            prop: "fRemark", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '备注不能为空'
            }] //验证
        },
     
    ],

}